package com.ruoyi.bizsys.domain;

import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 策略命中记录对象 rule_hit
 *
 * @author african-loan
 * @date 2021-10-28
 */

@Data
public class RuleHit extends BaseEntity
        {
private static final long serialVersionUID=1L;


    /** PK */
    
            @Excel(name = "${comment}" , readConverterExp = "PK")
                @TableId(type = IdType.AUTO)
        private Long id;


    /** 业务类型(1授信/2提现) */
                        
            @Excel(name = "业务类型(1授信/2提现)")
                private String operType;


    /** 客户号 */
                        
            @Excel(name = "客户号")
                private String custNo;


    /** 申请流水号 */
                        
            @Excel(name = "申请流水号")
                private String applySerialNo;


    /** 借据流水号 */
                        
            @Excel(name = "借据流水号")
                private String loanSerialNo;


    /** 规则流水号 */
                        
            @Excel(name = "规则流水号")
                private String entryId;


    /** 规则节点ID */
                        
            @Excel(name = "规则节点ID")
                private String nodeId;


    /** 策略ID */
                        
            @Excel(name = "策略ID")
                private String uuid;


    /** 策略名称 */
                        
            @Excel(name = "策略名称")
                private String name;


    /** 结果 */
                        
            @Excel(name = "结果")
                private String dealType;


    /** 详细结果 */
    
            @Excel(name = "结果")
                private String ruleDetailDataList;


    /** 状态 */
                        
            @Excel(name = "状态")
                private String state;


    /** 创建时间 */
    
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "状态" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date createTime;


    /** 更新时间 */
    
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "状态" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date updateTime;

                                                                                                                                                                                                                                                                                                                }